Skip to content

Conversation

hsivonen
Copy link
Member

@hsivonen hsivonen commented May 4, 2016

No description provided.


#data
<td>
#errors
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This (and th below) should be a parse error per spec I think:

https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody

A start tag whose tag name is one of: "th", "td"
Parse error.

@zcorpan
Copy link
Contributor

zcorpan commented May 4, 2016

Also see https://github.com/html5lib/html5lib-tests/pull/72/files for some similar tests


#data
<!DOCTYPE html><rb>
#errors
Copy link
Contributor

@zcorpan zcorpan May 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the current node is not now a ruby element, this is a parse error.

Similarly, rp, rt, rtc below are also parse errors. Maybe test as document-fragment with ruby as context?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants